// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue, {
	reactive
} from 'vue'
import App from './App'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
//引入elementui
import 'element-ui/lib/theme-chalk/index.css';

import * as api from './utils/request';
import * as img from './utils/img';
import * as version from './utils/version.js';
import notice from './utils/notice.js';

Vue.config.productionTip = false

Vue.use(ElementUI)

Vue.prototype.$api = api
Vue.prototype.$img = img
Vue.prototype.$version = version;
Vue.prototype.notice = notice;

/* eslint-disable no-new */

new Vue({
	router,
	store,
	render: h => h(App)
  }).$mount('#app')